package com.reform.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.reform.pojo.phase.ViewUnselectBatchPhase;
import com.reform.mapper.ViewUnselectBatchPhaseMapper;
import com.reform.res.Result;
import com.reform.res.ResultCode;
import com.reform.service.IViewUnselectBatchPhaseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * VIEW 服务实现类
 * </p>
 *
 * @author mortale
 * @since 2021-09-13
 */
@Service
public class ViewUnselectBatchPhaseServiceImpl extends ServiceImpl<ViewUnselectBatchPhaseMapper, ViewUnselectBatchPhase> implements IViewUnselectBatchPhaseService {

    @Autowired
    ViewUnselectBatchPhaseMapper viewUnselectBatchPhaseMapper;

    @Override
    public Result getNotSelectPhaseByPhaseId() {
        return Result.success(ResultCode.SUCCESS, viewUnselectBatchPhaseMapper.selectList(null));
    }
}
